package com.xwj.config.controller;

import com.xwj.config.conf.JdbcConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xwj
 * @date 2019/12/23
 */
@RestController
public class TestConfigController {
    @Autowired
    private JdbcConfig jdbcConfig;

    @GetMapping(value = "testConfig")
    public String testConfig(){
        return jdbcConfig.toString();
    }
}
